//
//  BaseCodingObject.swift
//  MyWeiBo
//
//  Created by mac on 15/3/3.
//  Copyright (c) 2015年 gpr. All rights reserved.
//

import UIKit
//import JSONModel

class BaseCodingObject: BaseObject, NSCoding {
    
    func encodeWithCoder(encoder: NSCoder) {
        JSONModelSerializer.shareInstance.encoderObject(self, encdoer: encoder)
    }
    
    required init(coder decoder: NSCoder) {
        super.init()
        JSONModelSerializer.shareInstance.decoderObject(self, decoder: decoder)
    }
    
    override init() { }
}
